package com.shu.driftbook.dao;

import java.util.List;

public interface BookDao {
	public Book get(Integer id);
	public Integer save(Book book);
	public void update(Book book);
	public void delete(Integer id);
	public void delete(Book book);
	public List<Book> findByName(String bookname);
	public List<Book> findByISBN(String ISBN);
	public List findAllBook();
	public long getBookNumber();
	public void findByName2(String bookname);
	public List<Book> findBySort(String sort);
	public void setLimit(int i);
}
